-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ENH Run php parallel lint if it's installed #30
ENH Run php parallel lint if it's installed #30
Conversation
action.yml
Outdated
@@ -238,6 +238,10 @@ runs: | |||
if: ${{ inputs.phplinting == 'true' }} | |||
shell: bash | |||
run: | | |||
if [[ -f vendor/bin/parallel-lint ]]; then | |||
echo "Running parallel-lint" | |||
vendor/bin/parallel-lint --exclude=vendor --exclude=.git . |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Excluding .git
is just for speed - means it doesn't have to look at all the files in there checking for php files that aren't there.
action.yml
Outdated
@@ -238,6 +238,10 @@ runs: | |||
if: ${{ inputs.phplinting == 'true' }} | |||
shell: bash | |||
run: | | |||
if [[ -f vendor/bin/parallel-lint ]]; then | |||
echo "Running parallel-lint" | |||
vendor/bin/parallel-lint --exclude=vendor --exclude=.git . |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
vendor/bin/parallel-lint --exclude=vendor --exclude=.git . | |
vendor/bin/parallel-lint --exclude vendor --exclude .git . |
I tested this locally and it seems that you do not include the equals sign
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, well. That's silly of it lol.
Done.
75a94fc
to
8ec54a6
Compare
Issue